Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SM64] Fix/Improve multi-actor UI (not export all selected) #450

Merged
merged 5 commits into from
Dec 28, 2024

Conversation

Lilaa3
Copy link
Collaborator

@Lilaa3 Lilaa3 commented Sep 9, 2024

Doesn´t add empties to the text, uses parenthesis, show similar text for level and custom

@Lilaa3 Lilaa3 added bug Something isn't working enhancement New feature or request sm64 Has to do with the Super Mario 64 side labels Sep 9, 2024
a little extra addition for code quality
@@ -2166,12 +2179,24 @@ def draw_level_path(self, layout):
return True

def draw_actor_path(self, layout):
actor_path = Path(bpy.context.scene.fast64.sm64.decomp_path) / "actors"
if not filepath_ui_warnings(layout, (actor_path / self.actor_group_name).with_suffix(".c")):
if self.export_locations is None:
return
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
return
return False

and other returns in this function
would be cleaner

@Lilaa3 Lilaa3 mentioned this pull request Sep 30, 2024
1 task
Copy link
Collaborator

@jesusyoshi54 jesusyoshi54 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good. Definitely more clear that a manually selected gfx and col object will go to different places.

@jesusyoshi54 jesusyoshi54 added the merge soon Will be merged in a few days at most if nothing else comes up label Dec 28, 2024
@Lilaa3 Lilaa3 merged commit c475ce3 into Fast-64:main Dec 28, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request merge soon Will be merged in a few days at most if nothing else comes up sm64 Has to do with the Super Mario 64 side
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants